Codexonics\PrimeMoverFramework\utilities\PrimeMoverDownloadUtilities D

Total Complexity 145
Dependencies 5
Dependents 2
Total lines 779
Lines of code 466
Logical lines of code 308
Comment lines 184
Methods 29
Properties 1

Methods 29

Method Rating Maintainability Complexity Lines of code
streamDownload()
B
37 21 70
saveDownloadURLParameters()
A
46 12 37
maybeSymlinkDownload()
A
47 12 35
getAdjustedPath()
A
44 11 47
readOldTmpFilesAndDelete()
A
50 11 29
validateDownloadSymlink()
A
56 9 19
streamDownloadHelper()
A
47 7 34
maybeRenderDownloadByHeaderLocation()
A
58 8 16
maybeAdjustOriginalPath()
S
50 7 27
validateIfUserIsAuthenticatedByCapability()
S
61 8 11
renderDownloadHelper()
S
54 6 19
analyzeRenderingMethods()
S
59 5 14
getCronInterval()
S
59 3 15
cleanScriptFilePath()
S
61 3 13
setUpCronToDeleteTmpFiles()
S
65 3 9
renderDefaultHeaders()
S
68 3 7
maybeEnableCronDebug()
S
66 3 8
doPrimeMoverDeleteSymlink()
S
72 2 6
isShaString()
S
79 1 3
getParameters()
S
64 1 9
__construct()
S
81 1 3
isHeadRequest()
S
80 1 3
getResumeDownloadStream()
S
82 1 3
addCustomSchedule()
S
67 1 8
initHooks()
S
63 1 9
getSystemInitialization()
S
81 1 3
getSystemAuthorization()
S
81 1 3
getSystemFunctions()
S
81 1 3
createFriendlyName()
S
79 1 3